﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.IModel;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Framework.IService
{
   public interface IPostService:IDataService<IPost>
    {
       /// <summary>
       /// 给组织添加职位
       /// </summary>
       /// <param name="organizationId"></param>
       /// <param name="positionId"></param>
       /// <param name="employeeId"></param>
       void AddPost(int organizationId, int positionId, int leaderId,int postResponsibilityId);
       /// <summary>
       /// 得到岗位下的员工
       /// </summary>
       /// <param name="postId"></param>
       /// <returns></returns>
       IList<IEmployee> GetEmployeesByPostId(int postId,IList<Sort> sorts, int pageSize, int page, out int totalCount);
    }
}
